package nmrworkflow.framework.beans.datatypes;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;


public class NmrStream implements Streamable
{
	private PipedInputStream inputStream;
	private PipedOutputStream outputStream;
	
	public NmrStream() throws IOException
	{
		this.inputStream = new PipedInputStream();
		this.outputStream = new PipedOutputStream(inputStream);
	}

	public InputStream getInputStream()
	{
		return this.inputStream;
	}

	public OutputStream getOutputStream()
	{
		return this.outputStream;
	}

}
